package com.foreverwin.jzymes.production.gr.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.util.Date;
import java.util.Date;
import java.util.Date;

/**
 * 成品入库单记录表 Z_GOODS_RECEIPT_LOG
 * 
 * @author ervin
 * @date 2019-08-06
 */
public class GoodsReceiptLog
{
	private static final long serialVersionUID = 1L;
	
	/** 主键 */
	private String handle;
	/** 站点 */
	private String site;
	/** 入库单号 */
	private String orderNo;
	/** 机种 */
	private String machineType;
	/** 物料 */
	private String itemBo;
	/** 工令号 */
	private String sfc;
	/** 单位 */
	private String unit;
	/** 入库类型 */
	private String grType;
	/** 仓码 */
	private String storageLocation;
	/** 入库数量 */
	private Long qty;
	/** 入库状态 */
	private String status;
	/** ERP凭证号 */
	private String documentNo;
	/** 创建日期 */
	private Date createdDateTime;
	/** 更新日期 */
	private Date updatedDateTime;
	/** 创建人员 */
	private String createUserBo;
	/** 更新人员 */
	private String updateUserBo;
	/** 过账日期 */
	private Date postDate;

	public void setHandle(String handle) 
	{
		this.handle = handle;
	}

	public String getHandle() 
	{
		return handle;
	}
	public void setSite(String site) 
	{
		this.site = site;
	}

	public String getSite() 
	{
		return site;
	}
	public void setOrderNo(String orderNo) 
	{
		this.orderNo = orderNo;
	}

	public String getOrderNo() 
	{
		return orderNo;
	}
	public void setMachineType(String machineType) 
	{
		this.machineType = machineType;
	}

	public String getMachineType() 
	{
		return machineType;
	}
	public void setItemBo(String itemBo) 
	{
		this.itemBo = itemBo;
	}

	public String getItemBo() 
	{
		return itemBo;
	}
	public void setSfc(String sfc) 
	{
		this.sfc = sfc;
	}

	public String getSfc() 
	{
		return sfc;
	}
	public void setUnit(String unit) 
	{
		this.unit = unit;
	}

	public String getUnit() 
	{
		return unit;
	}
	public void setGrType(String grType) 
	{
		this.grType = grType;
	}

	public String getGrType() 
	{
		return grType;
	}
	public void setStorageLocation(String storageLocation) 
	{
		this.storageLocation = storageLocation;
	}

	public String getStorageLocation() 
	{
		return storageLocation;
	}
	public void setQty(Long qty) 
	{
		this.qty = qty;
	}

	public Long getQty() 
	{
		return qty;
	}
	public void setStatus(String status) 
	{
		this.status = status;
	}

	public String getStatus() 
	{
		return status;
	}
	public void setDocumentNo(String documentNo) 
	{
		this.documentNo = documentNo;
	}

	public String getDocumentNo() 
	{
		return documentNo;
	}
	public void setCreatedDateTime(Date createdDateTime) 
	{
		this.createdDateTime = createdDateTime;
	}

	public Date getCreatedDateTime() 
	{
		return createdDateTime;
	}
	public void setUpdatedDateTime(Date updatedDateTime) 
	{
		this.updatedDateTime = updatedDateTime;
	}

	public Date getUpdatedDateTime() 
	{
		return updatedDateTime;
	}
	public void setCreateUserBo(String createUserBo) 
	{
		this.createUserBo = createUserBo;
	}

	public String getCreateUserBo() 
	{
		return createUserBo;
	}
	public void setUpdateUserBo(String updateUserBo) 
	{
		this.updateUserBo = updateUserBo;
	}

	public String getUpdateUserBo() 
	{
		return updateUserBo;
	}
	public void setPostDate(Date postDate) 
	{
		this.postDate = postDate;
	}

	public Date getPostDate() 
	{
		return postDate;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("handle", getHandle())
            .append("site", getSite())
            .append("orderNo", getOrderNo())
            .append("machineType", getMachineType())
            .append("itemBo", getItemBo())
            .append("sfc", getSfc())
            .append("unit", getUnit())
            .append("grType", getGrType())
            .append("storageLocation", getStorageLocation())
            .append("qty", getQty())
            .append("status", getStatus())
            .append("documentNo", getDocumentNo())
            .append("createdDateTime", getCreatedDateTime())
            .append("updatedDateTime", getUpdatedDateTime())
            .append("createUserBo", getCreateUserBo())
            .append("updateUserBo", getUpdateUserBo())
            .append("postDate", getPostDate())
            .toString();
    }
}
